/**
 * 创建默认提交
 * @returns {string}
 */
export function createDefaultFormSlot() {
  return `
<z-space v-if="scope.level === 1">
  <el-button type="primary" @click="zform__callEvent('form-submit', scope, $event)"">提交</el-button>
  <el-button @click="zform__reset(scope, $event)"">重置</el-button>
</z-space>
  `
}

export function createDialogFormSlot() {
  return `
<z-space v-if="scope.level === 1">
<el-button  type="primary"  @click="zform__callEvent('edit-form-submit', scope, $event)"">提交</el-button>
<el-button @click="zform__callEvent('edit-cancel', $event)"">取消</el-button>

</z-space>  
  `
}
